//Copyright 2009-2010 Virzì Giuseppe - info@giuseppevirzi.it
//http://www.giuseppevirzi.it
//
//This module may be used under the terms of the following license:
//
//AL, Apache License, http://www.apache.org/licenses
//
//Please contact the author if you need another license.
//This APIs are provided "as is", without warranties of any kind.

package it.giuseppevirzi.net.multimedia.vcastapi;

/**
 * Thrown when the access is not granted.
 * 
 * <br/><br/>From the official <a href="http://www.vcast.it/TestS/?xml=api_specification.xml">api specifications</a>:
 * 
 * <pre>
 * The user access credential (username and password) are present in every API call as part of the HTTP HEADER of the request according to the basic authentication criteria, as defined by RFC2617, an example of the header line is:
 * 
 * Authorization: Basic ZnJlZDp0aGF0cyBtZQ==
 * 
 * Where the ending string is the pair <username>:<password> coded base64 
 * </pre>
 * 
 * @author <a href="http://www.giuseppevirzi.it">Giuseppe Virz&igrave;</a>
 */
public class UnauthorizedAccessException extends VCastAPIException {

    /**
	 * 
	 */
	private static final long serialVersionUID = 6963732844395059391L;


	/**
     * Creates a new instance of <code>UnauthorizedAccessException</code> without detail message.
     */
    public UnauthorizedAccessException() {
        super();
    }


    /**
     * Constructs an instance of <code>UnauthorizedAccessException</code> with the specified detail message.
     * @param msg the detail message.
     */
    public UnauthorizedAccessException(String msg) {
        super(msg);
    }
}
